package com.ym.soso.dao;

import com.ym.soso.domain.entity.ChinaMedicineEntity;
import com.ym.soso.domain.param.ChinaMedicineMobileQueryParam;
import com.ym.soso.domain.vo.ChinaMedicineListPcVO;
import com.ym.soso.domain.param.ChinaMedicineQueryParam;
import com.ym.soso.domain.vo.ChinaMedicineVO;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import java.util.List;

/**
 * 中医堂信息Dao接口
 *
 * @author ym
 * @date 2020-09-01
 */
@Repository
public interface ChinaMedicineDao extends Mapper<ChinaMedicineEntity>{

    /**
     * 查询中医堂信息列表,PC专用不要轻易混用更改
     *
     * @param queryParam  中医堂信息查询参数
     * @return 中医堂信息集合
     */
    List<ChinaMedicineListPcVO> selectListPC(ChinaMedicineQueryParam queryParam);

    /**
     *列表查询
     * @param queryParam
     * @return
     */
    List<ChinaMedicineVO> selectCustomerByModel(ChinaMedicineMobileQueryParam queryParam);
}
